<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../layui/dist/css/layui.css" />
	</head>

	<body>
		<script src="../layui/dist/layui.all.js" type="text/javascript" charset="utf-8"></script>

		<script>
			layui.config({
				base:'/res/js/modules'	//你存放新模块的目录，注意，不是layui的模块目录
			}).use('index');	//加载入口
		</script> 
	</body>

</html>